package Others.DesignPattern.FactoryPattern.Pattern.Object;

public class UndergraduateFactory implements LeiFengFactory{
    @Override
    public LeiFeng createLeiFeng() {
        System.out.println("创建大学生对象");
        return new Undergraduate();
    }
}
